package org.generic.service;

import org.generic.interfaces.entity.User;

import javax.validation.constraints.NotEmpty;

/**
 * 用户相关接口
 *
 * @author 李坤
 */
public interface UserService<T extends User> {
    String getNotice();

    T getUser(@NotEmpty(message = "ID不能为空") String id);

    String getUsername(@NotEmpty(message = "ID不能为空") String id);
}
